package com.yn.club.subject.application.convert;


import java.util.List;
import com.yn.club.subject.domain.entity.SubjectJudgeDO;
import com.yn.club.subject.application.dto.SubjectJudgeDTO;
import com.yn.club.subject.application.request.SubjectJudgeSaveRequest;
import com.yn.club.subject.application.request.SubjectJudgeQueryRequest;
import org.mapstruct.Mapper;
import com.yn.club.common.util.MapStructUtil;
/**
 * 判断题(SubjectJudge)DTO和DO转换
 *
 * @author YN
 * @since 2025-01-21 17:40:47
 */
@Mapper(componentModel = "spring", uses = {MapStructUtil.class})
public interface SubjectJudgeApplicationConverter {

  SubjectJudgeDTO convertDoToDto(SubjectJudgeDO ojb);
  
  List<SubjectJudgeDTO> convertDoToDto(List<SubjectJudgeDO> ojbs);
  
  SubjectJudgeDO convertDtoToDo(SubjectJudgeDTO ojb);
  
  List<SubjectJudgeDO> convertDtoToDo(List<SubjectJudgeDTO> ojbs);
  
  SubjectJudgeDO convertSaveRequestToDo(SubjectJudgeSaveRequest ojb);
  
  SubjectJudgeDO convertQueryRequestToDo(SubjectJudgeQueryRequest ojb);
  
  
}

